const fs = require("fs");

let res = fs.existsSync("5.txt");
console.log(res);